package server.business.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import server.business.service.BloodTestStatesService;
import server.business.utils.Result;


/**
 * 血液检验状态数据字典
 */
@Controller
@RequestMapping("/bloodTestStates")
public class BloodTestStatesController {


    @Autowired
    private BloodTestStatesService bloodTestStatesService;

    /**
     * 查询数据
     * @return
     */
    @RequestMapping("/normal/queryBloodTestStates")
    @ResponseBody
    public Result queryBloodTestStates() {
        bloodTestStatesService.list();
        Result result = new Result();
        result.setData(bloodTestStatesService.list());
        return result;
    }
}
